function lycsh(){
    let lujing = [];
    let qbym = new Map();

    global.quna = function(ymname){
        console.clear();
        if(qbym.has(ymname)){
            if(ymname !== "返回上一页")lujing.push(ymname)
            qbym.get(ymname)()
        }else{
            console.log("你输入的路径无效");
            process.exit(2);
        }
    }
    global.fanhui =function(){
        console.clear()
        lujing.pop()
        qbym.get(lujing[lujing.length -1])()
    }
    global.huoqu = function(){
        return lujing
    }
    const ym = require("./qbym")
    for (let [k, v] of Object.entries(ym)) {
        qbym.set(k, v);
    }
}
module.exports = lycsh